package com.mic.yzzn.plc.common.control.datastructure;

/**
 * PLCData 对应的状态的编码
 */
public class PLCDataStatus
{
	public static final int PLC_DATA_STATUS_OK = 200; // OK
	public static final int PLC_DATA_STATUS_ERROR = 400; // 错误,无详细原因
	public static final int PLC_DATA_STATUS_ILLEGAL_POINT = 404; // 传入点位不合法
	public static final int PLC_DATA_STATUS_TIMEOUT = 405; // 超时错误
	public static final int PLC_DATA_STATUS_CONNECT_ERROR = 406; // 连接PLC错误
	public static final int PLC_DATA_STATUS_CONFIRM_ERROR = 407; // fire_ack时遇到读取确认错误
	public static final int PLC_DATA_STATUS_RESPONSE_BBC_ERROR = 408; // BBC错误
	public static final int PLC_DATA_STATUS_RESPONSE_NULL_ERROR = 409; // 空响应错误
	public static final int PLC_DATA_STATUS_NO_DATA = 410; // 对应点位的数据不存在
	public static final int PLC_DATA_STATUS_COM_WRITE_ERROR = 410; // COM口写入错误
	public static final int PLC_DATA_STATUS_COM_READ_ERROR = 410; // COM口读取错误
}
